---
layout: single
property_name: transition-property
---

<section id="transition-property" class="property">
  <header class="property-header">
    <nav class="property-links">
        <a class="property-collection" href="{{site.url}}/transitions/">
          In collection: <strong>transitions</strong>
        </a>
      <a class="property-links-direct" href="{{site.url}}/property/transition-property/" data-property-name="transition-property" data-tooltip="Single page for this property">Permalink</a>
      <a class="property-share" data-tooltip="Share on Twitter or Facebook" data-property-name="transition-property">Share</a>
        <a target="_blank" href="http://caniuse.com/#feat=css-transitions" data-tooltip="See on Can I use..." rel="external">Can I use</a>
      <a target="_blank" href="https://developer.mozilla.org/en/docs/Web/CSS/transition-property" data-tooltip="See on Mozilla Developer Network" rel="external">MDN</a>
    </nav>
    <h2 class="property-name">
      <a href="#transition-property"><span>#</span>transition-property</a>
    </h2>
    <div class="property-description">
      <p>Defines which properties will transition.</p>

    </div>

  </header>

    <style type="text/css">.transition-property { padding: 0; }</style>

    <style type="text/css">.transition-property:hover .square { background: hsl(348, 100%, 61%);color: #fff;transform: translateX(200%); }</style>

    <style type="text/css">.transition-property .square { transition-duration: 1s;transition-timing-function: linear; }</style>


    <section class="example">
      <header class="example-header">
        <p class="example-name">
            <code class="example-default" data-tooltip="This is the property's default value">default</code>


          <code class="example-value" data-tooltip="Click to copy" data-clipboard-text="transition-property: all;">transition-property: all;</code>
        </p>
        <div class="example-description">
          <p>The element will transition <strong>all</strong> properties:</p>
<ul><li><code class="shorthand"><a href="http://cssreference.io/#background">background</a></code></li><li><code class="shorthand"><a href="http://cssreference.io/#color">color</a></code></li><li><code class="shorthand"><a href="http://cssreference.io/#transform">transform</a></code></li></ul>
        </div>
      </header>

      <aside class="example-preview">
        <div class="example-browser"><i></i><i></i><i></i></div>
        <div class="example-output">
          <div class="example-output-div transition-property " id="transition-property-all"><p class="square square--alpha">Hover me</p></div>
        </div>
      </aside>
        <style type="text/css">#transition-property-all .square { transition-property: all; }</style>
    </section>
    <section class="example">
      <header class="example-header">
        <p class="example-name">


          <code class="example-value" data-tooltip="Click to copy" data-clipboard-text="transition-property: none;">transition-property: none;</code>
        </p>
        <div class="example-description">
          <p>The element will transition <strong>no</strong> property: the transition is thus <strong>instant</strong>.</p>

        </div>
      </header>

      <aside class="example-preview">
        <div class="example-browser"><i></i><i></i><i></i></div>
        <div class="example-output">
          <div class="example-output-div transition-property " id="transition-property-none"><p class="square square--alpha">Hover me</p></div>
        </div>
      </aside>
        <style type="text/css">#transition-property-none .square { transition-property: none; }</style>
    </section>
    <section class="example">
      <header class="example-header">
        <p class="example-name">


          <code class="example-value" data-tooltip="Click to copy" data-clipboard-text="transition-property: background;">transition-property: background;</code>
        </p>
        <div class="example-description">
          <p>The element will only transtion the <strong>background</strong> property.</p>

        </div>
      </header>

      <aside class="example-preview">
        <div class="example-browser"><i></i><i></i><i></i></div>
        <div class="example-output">
          <div class="example-output-div transition-property " id="transition-property-background"><p class="square square--alpha">Hover me</p></div>
        </div>
      </aside>
        <style type="text/css">#transition-property-background .square { transition-property: background; }</style>
    </section>
    <section class="example">
      <header class="example-header">
        <p class="example-name">


          <code class="example-value" data-tooltip="Click to copy" data-clipboard-text="transition-property: color;">transition-property: color;</code>
        </p>
        <div class="example-description">
          <p>The element will only transtion the <strong>color</strong> property.</p>

        </div>
      </header>

      <aside class="example-preview">
        <div class="example-browser"><i></i><i></i><i></i></div>
        <div class="example-output">
          <div class="example-output-div transition-property " id="transition-property-color"><p class="square square--alpha">Hover me</p></div>
        </div>
      </aside>
        <style type="text/css">#transition-property-color .square { transition-property: color; }</style>
    </section>
    <section class="example">
      <header class="example-header">
        <p class="example-name">


          <code class="example-value" data-tooltip="Click to copy" data-clipboard-text="transition-property: transform;">transition-property: transform;</code>
        </p>
        <div class="example-description">
          <p>The element will only transtion the <strong>transform</strong> property.</p>

        </div>
      </header>

      <aside class="example-preview">
        <div class="example-browser"><i></i><i></i><i></i></div>
        <div class="example-output">
          <div class="example-output-div transition-property " id="transition-property-transform"><p class="square square--alpha">Hover me</p></div>
        </div>
      </aside>
        <style type="text/css">#transition-property-transform .square { transition-property: transform; }</style>
    </section>

</section>
